package com.waterworld.watch.chat.interfaces;

import com.waterworld.watch.common.net.BaseObserverListener;
import com.waterworld.watch.common.net.INetManager;

import java.io.File;

/**
 * Created by nhuan
 * Time:2019/3/14.
 */

public interface IChatManager {

    void listGroup(BaseObserverListener baseObserverListener);

    void listManageWatch(BaseObserverListener baseObserverListener);

    void listGroupAllowUser(Integer watchId,BaseObserverListener baseObserverListener);

    void uploadGroupHead(File file,BaseObserverListener baseObserverListener);

    void createGroup(String json,BaseObserverListener baseObserverListener);

    void deleteGroup(Integer groupId,BaseObserverListener baseObserverListener);

    void updateGroupName(Integer groupId,String name,BaseObserverListener baseObserverListener);

    void listGroupMember(Integer groupId,BaseObserverListener baseObserverListener);

    void addGroupMember(String json,BaseObserverListener baseObserverListener);

    void deleteGroupMember(String json,BaseObserverListener baseObserverListener);

    void quitGroup(Integer groupId,BaseObserverListener baseObserverListener);

    void sendGroupMsg(String json,BaseObserverListener baseObserverListener);

    void uploadGroupVoice(Integer groupId,File file,BaseObserverListener baseObserverListener);

    void getGroupMsg(Integer groupId,Integer msgId,Integer pageSize,BaseObserverListener baseObserverListener);

    void listGroupMsg(Integer groupId,Integer msgId,Integer pageNum,Integer pageSize,BaseObserverListener baseObserverListener);
}
